Optimal. Leaf size=96 \[ \frac {(A-7 B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}+\frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 96, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {2972, 2742} \[ \frac {(A-7 B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}+\frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2742
Rule 2972
Rubi steps
\begin {align*} \int \frac {(a+a \sin (e+f x))^{5/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx &=\frac {(A+B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}}+\frac {(A-7 B) \int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx}{8 c}\\ &=\frac {(A+B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 f (c-c \sin (e+f x))^{9/2}}+\frac {(A-7 B) \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{48 c f (c-c \sin (e+f x))^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 2.96, size = 145, normalized size = 1.51 \[ \frac {a^2 \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) ((4 A+17 B) \sin (e+f x)-3 (A-B) \cos (2 (e+f x))+5 A-3 B \sin (3 (e+f x))-5 B)}{12 c^4 f (\sin (e+f x)-1)^4 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 165, normalized size = 1.72 \[ -\frac {{\left (3 \, {\left (A - B\right )} a^{2} \cos \left (f x + e\right )^{2} - 4 \, {\left (A - B\right )} a^{2} + 2 \, {\left (3 \, B a^{2} \cos \left (f x + e\right )^{2} - {\left (A + 5 \, B\right )} a^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{6 \, {\left (c^{5} f \cos \left (f x + e\right )^{5} - 8 \, c^{5} f \cos \left (f x + e\right )^{3} + 8 \, c^{5} f \cos \left (f x + e\right ) + 4 \, {\left (c^{5} f \cos \left (f x + e\right )^{3} - 2 \, c^{5} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.68, size = 309, normalized size = 3.22 \[ -\frac {\sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}} \left (A \left (\cos ^{4}\left (f x +e \right )\right )-A \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )-B \left (\cos ^{4}\left (f x +e \right )\right )+B \left (\cos ^{3}\left (f x +e \right )\right ) \sin \left (f x +e \right )+4 A \left (\cos ^{3}\left (f x +e \right )\right )+5 A \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )+2 B \left (\cos ^{3}\left (f x +e \right )\right )+B \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-9 A \left (\cos ^{2}\left (f x +e \right )\right )+4 A \sin \left (f x +e \right ) \cos \left (f x +e \right )+3 B \left (\cos ^{2}\left (f x +e \right )\right )-4 B \sin \left (f x +e \right ) \cos \left (f x +e \right )-10 A \cos \left (f x +e \right )-14 A \sin \left (f x +e \right )-2 B \cos \left (f x +e \right )+2 B \sin \left (f x +e \right )+14 A -2 B \right )}{6 f \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {9}{2}} \left (\cos ^{3}\left (f x +e \right )-\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-2 \sin \left (f x +e \right ) \cos \left (f x +e \right )-2 \cos \left (f x +e \right )+4 \sin \left (f x +e \right )+4\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \sin \left (f x + e\right ) + A\right )} {\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {5}{2}}}{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {9}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\left (A+B\,\sin \left (e+f\,x\right )\right )\,{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{5/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{9/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________